package com.atguigu.demo.customer.service.impl;

import com.atguigu.demo.customer.bean.Customer;
import com.atguigu.demo.customer.service.CustomerService;
import org.springframework.stereotype.Service;

//@Service("cust2")
public class Customer2ServiceImpl { // implements CustomerService {

    public Customer getCustomerById(Long id) {
        Customer customer = new Customer(id,"李四",22);
        return customer;
    }


    public void saveCustomer(Customer customer) {

    }
}
